package cn.tansanqinger.service.catalogue;
/**
 * 对菜单内容进行增删改查
 * @author C3H2
 *
 */

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import cn.tansanqinger.pojo.Catalogue;
import cn.tansanqinger.util.PageData;

public interface ICatalogueService {
	//添加一组数据
	public boolean insert(Catalogue catalogue);
	//删除一组数据
	public boolean deleteCno_Ctop(Integer cno);
	//删除单一数据
	public boolean deleteCno(Integer cno);
	//修改数据编号
	public boolean updateCno(Integer cno, Integer ncno);
	//修改数据信息
	public boolean updateSingle(Catalogue catalogue);
	//查询全部数据
	public List<Catalogue> selectAll();
	//查询一组数据
	public Map<String, Object> selectOnes(String ctop);
	//查询单一数据
	public Catalogue selectOne(Integer cno);
}
